package tech.aistar.mapper;

import org.apache.ibatis.annotations.Select;
import tech.aistar.entity.Classs;

import java.util.List;

/**
 * Created by Administrator on 2019/10/11.
 */
public interface ClasssMapper {

    //查询所有分类
    @Select("select * from classs")
    List<Classs> findAllClass();

    //查询所有分类
    @Select("select * from classs where class_id = #{classId}")
    Classs findClassById(Integer classId);

}
